package org.metasketch.simulator.resources;

import java.util.HashMap;
import java.util.Map;

public class ResourceRequirements {

	Map<ResourceBase, Long> requirements = new HashMap<ResourceBase, Long>();

	public void copyTo(ResourceRequirements rr) {
		rr.getRequirements().putAll(requirements);
	}

	public void addRequirement(ResourceBase resource, Long amount) {
		requirements.put(resource, amount);
	}

	public Map<ResourceBase, Long> getRequirements() {
		return requirements;
	}

	public void setRequirements(Map<ResourceBase, Long> requirements) {
		this.requirements = requirements;
	}

}
